System and method for managing states and user context over stateless protocols

ABSTRACT

A system and method for facilitating remote access of an application available via a stateless protocol is provided. Such applications are typically accessed via the World Wide Web portion of the Internet (the “Web”) using a browser application and an HTTP protocol. The system can include one or more components for caching data associated with the remote access, the data comprising state and/or user specific information. The state and/or user specific information can be stored in a user context object (UCO). One or more user context objects can be managed by a user context manager that facilitates locating user context objects and reclaiming memory associated with user context objects that are no longer necessary to support remote access of the application accessed via a stateless protocol.

TECHNICAL FIELD

The present invention relates generally to computer programming and moreparticularly to a system and method for managing states and user contextinformation over stateless protocols.

BACKGROUND OF THE INVENTION

As applications accessed via stateless protocols have become moresophisticated, and as the environments with which such applicationsinteract have become more complex, it has become important to providesophisticated support for applications accessed over stateless protocols(e.g. HyperText Transfer Protocol “HTTP”). For example, for anapplication available over the World Wide Web portion of the Internet(the “Web”), where the communications between browser and applicationare achieved via a stateless protocol, it may become important to trackinformation including, but not limited to, who is accessing theapplication, services desired from the application, recent interactionswith the application and likely future interactions. In particular,support can be important to activities including, but not limited to,developing, debugging, managing and/or diagnosing applications availableover the Web. Further, support for applications accessed via a statelessprotocol can include efficiently locating session resources associatedwith such applications. For example, support in the form of tracking thenumber and type of resources allocated to an email session associatedwith an email application can be important to provide satisfactoryresponse times to application users who are using the email serviceavailable via the Web and a stateless protocol to read email.

Conventionally, supporting applications, sessions associated withapplications and resources associated with applications and/or sessionsaccessed via stateless protocols by, for example, tracking state and/oruser information, has been difficult to achieve. Even if possible toprovide such support it negatively impacted the functioning of suchapplications and/or was limited in its capabilities. For example,creating artificial URLs that contain both a “real” URL and an“extension” that carries management and tracking information requirestransmitting extra information in the URL not related to the URL, whichrequires additional transmission time, additional processing and whichcan confuse users who see lengthy and changing URLs. Transporting stateinformation from the application and/or session back to a remote usergenerates unnecessary network traffic. Further, transporting stateand/or user information via expanding URLs does not facilitatesupporting operations in an application accessed via a statelessprotocol that require multiple interactions with a remote accessor, forexample, copying messages from one folder in a remote email applicationto a different folder. Thus, resource management may not have beenperformed and the capability of an application available over the Webmay have been limited.

Conventionally, some management and tracking of applications may havebeen attempted through the use of “cookies” (persistent client side HTTPfiles). It is to be appreciated by one skilled in the art that cookiesmay, in addition and/or alternatively to being stored persistently inclient side files, be allocated per session and/or stored in memory.Although cookies can help maintain some information, cookies cannot berelied upon to support applications accessed via stateless protocols,sessions associated with the applications, and resources associated withsuch applications and sessions, since users may reject cookies (e.g. forsecurity and/or privacy reasons), and/or browsers, employed by remoteaccessors may not support cookies. Thus, any support available viacookies may be limited to the application level, not to the sessionlevel, which limits the functionality of applications accessed viastateless protocols.

Tracking and/or supporting applications, sessions and/or resources viacookies is further limited because such cookie support may not enabletransporting various data types, including, but not limited to binarydata, that are employed by applications, sessions and/or resources.Thus, converting between data formats when using conventional supporttechniques is required. Such conversion consumes processing power andtime, and thus negatively impacts applications supported in such amanner.

Thus, there remains a need for a system and method to track and supportapplications, sessions associated with such applications, and resourcesassociated with such applications and sessions, over statelessprotocols, like HTTP.

SUMMARY OF THE INVENTION

The following presents a simplified summary of the invention in order toprovide a basic understanding of some aspects of the invention. Thissummary is not an extensive overview of the invention. It is notintended to identify key/critical elements of the invention or todelineate the scope of the invention. Its sole purpose is to presentsome concepts of the invention in a simplified form as a prelude to themore detailed description that is presented later.

The present invention relates to a system and method for tracking,and/or supporting, applications available via stateless protocols,sessions associated with such applications and resources associated withsuch applications and sessions. More particularly, the present inventionrelates to managing states and user context information over statelessprotocols (e.g. HTTP).

An example aspect of the present invention provides a system tofacilitate remote access of an application available via a statelessprotocol. The system can include a component for caching data associatedwith the remote access. The cached data may include both state and/oruser specific information. Thus, a state may be maintained for anapplication and/or session accessed via a stateless protocol. Forexample, a user may remotely access an email application (e.g.,Microsoft Exchange Server) over the Web via HTTP. The system may cacheinformation including, but not limited to, a record of views availableto the user, a record of views last employed by the user, a list ofrecently accessed folders, URLs for commonly used folders, and emailaddresses of the user. Such information can be cached by a user contextmanager in a user context object. A user context object can be createdfor each session associated with an application, thus facilitatingmaintaining the state and/or user specific information. Such informationcan facilitate for example, locating resources associated with anapplication at the session level, thereby mitigating problems withconventional systems.

To facilitate locating a user context object associated with anapplication and/or session, a globally unique identifier can begenerated for the user context object. Used in conjunction with a localeidentifier (generated by a browser, for example), a security identifier(generated by an operating system, for example) and a mailbox identifier(generated by an email application, for example), the globally uniqueidentifier can be employed to retrieve a user context object. Theglobally unique identifier can be transported over a stateless protocol(e.g. HTTP) in space conventionally employed by cookies (e.g. cookieheader portion of HTTP request/response).

Applications available over stateless protocols (e.g. HTTP) arefrequently accessed by a remote accessor using a Web browser. A localeidentifier (LCID) can be generated by the browser, based on a standardHTTP Accept-Language header. An LCID can relate to informationincluding, but not limited to, the language associated with the browser,date and time formats, and a character set, for example. Applicationsavailable via stateless protocols frequently run on one or more serversunder the control of an operating system. Thus, a security identifier(SID) can be generated by the operating system, for example Microsoft®Windows® NT®. The SID can be generated by processing a (username,password) combination, for example. An example application available viaa stateless protocol is an email application. A user of the remote emailapplication (e.g. Microsoft Exchange) can be assigned a mailbox and analias for that mailbox. Thus, a mailbox identifier (MID) can begenerated by processing a (username, domain name, alias) combination.

When a user initiates one or more sessions of a browser application toaccess an application available via a stateless protocol, a user contextobject can be created to store information concerning resourcesallocated to the one or more sessions and to facilitate tracking stateand/or user information associated with the remote accessor. A globallyunique identifier (GUID) associated with the user context object can begenerated by a user context manager to facilitate locating the usercontext object. As noted above, the GUID can be transported between thebrowser and the application by stateless protocol requests and responsesin space conventionally employed to manage cookies. Thus, in subsequentbrowser requests associated with the session, the GUID can be sent fromthe browser session to the application, and in subsequent applicationresponses the GUID can be returned to the browser. With the GUIDavailable in requests, and an LCID, SID and MID available to theapplication, a user context object associated with a session can belocated by examining the LCID, the SID, the MID and the GUID. Since theuser context object can store state and/or context information,conventional application and/or session level support problemsassociated with applications that are accessed via a stateless protocolare thus mitigated.

Another aspect of the present invention provides for memory managementof user context objects. A user context manager creates one or more usercontext objects when a user accesses a remote application. The usercontext manager can also monitor the usage of the user context objects.In one exemplary aspect of the present invention, if the user contextmanager determines that an amount of time exceeding a pre-determinedthreshold has passed without the user context object being accessed(e.g. one hour), then the user context manager can reclaim the memoryallocated to the user context object.

Another aspect of the present invention provides for adapting thenumber, and/or type, of resources allocated to track and/or manage anapplication available over a stateless protocol. One or more monitoringand feedback components can track the usage of the user context objects.If the usage of the user context objects exceeds a first predeterminedthreshold, then more resources may be allocated to the user contextobjects. Similarly, if the usage of the user context objects does notreach a second pre-determined threshold, then some resources may bereclaimed from the user context objects. Further, the monitoring andfeedback components can determine whether finite resources should bebalanced as the load shifts between one or more applications accessiblevia the stateless protocol.

In accordance with an aspect of the present invention, a system tofacilitate a remote user accessing an application across a statelessprotocol is provided, the system comprising: a component for cachingdata associated with the remote user access, the data comprising stateand/or user specific information.

Another aspect of the present invention provides a system to facilitatea remote user accessing an application across a stateless protocolcomprising: a component for caching data associated with the remote useraccess, the data comprising state and/or user specific information, anda component for managing memory storing the state and/or user specificinformation.

Yet another aspect of the present invention provides a system tofacilitate a remote user accessing an application across a statelessprotocol comprising: a component for caching data associated with theremote user access, the data comprising state and/or user specificinformation, and a component for managing memory storing the stateand/or user specific information, wherein the memory managing componentreclaims resources allocated to a user context object upon adetermination that the user context object has not been accessed withina pre-determined threshold period of time, the resources including atleast one of memory, data communications devices, processor time andnetwork bandwidth.

Still yet another aspect of the present invention provides a system tofacilitate a remote user accessing an application across a statelessprotocol comprising: a component for caching data associated with theremote user access, the data comprising state and/or user specificinformation; and a component for managing memory storing the stateand/or user specific information, wherein the memory managing componentreclaims resources allocated to a user context object upon adetermination that the user context object has not been accessed withina pre-determined threshold period of time, the resources including atleast one of memory, data communications devices, processor time andnetwork bandwidth, and a monitoring component, operable to feedbackinformation concerning usage of one or more user context objects.

Still yet another aspect of the present invention provides a system tofacilitate a remote user accessing an application across a statelessprotocol comprising: a component for caching data associated with theremote user access, the data comprising state and/or user specificinformation, and a component for managing memory storing the stateand/or user specific information, wherein the memory managing componentreclaims resources allocated to a user context object upon adetermination that the user context object has not been accessed withina pre-determined threshold period of time, the resources including atleast one of memory, data communications devices, processor time andnetwork bandwidth, wherein the pre-determined threshold period of timecan be dynamically changed based, at least in part, on feedbackconcerning the usage of one or more user context objects.

Yet another aspect of the present invention provides a method forfacilitating remote access to an application, the access occurringacross a stateless protocol, the method comprising: allocating memory tocache state and/or user specific information associated with the remoteaccess; caching the state information associated with the remote accessof the application in the allocated memory; and caching the userspecific information associated with the remote access of theapplication in the allocated memory.

Still yet another aspect of the present invention provides a method forfacilitating remote access to an application, the access occurringacross a stateless protocol, comprising: allocating memory to cachestate and/or user specific information associated with the remoteaccess; caching the state information associated with the remote accessof the application in the allocated memory; caching the user specificinformation associated with the remote access of the application in theallocated memory, and selectively reclaiming the memory allocated tocache the state and/or user specific information associated with theremote access, the reclaiming occurring upon the allocated memory notbeing accessed within a predetermined period of time.

Yet another aspect of the present invention provides a data packetadapted to be transmitted between two or more computer processescomprising; information related to facilitating remote access to anapplication, the access occurring across a stateless protocol, theinformation comprising state and/or user specific information associatedwith the remote access of the application.

Still another aspect of the present invention provides a computerreadable medium storing computer executable components of a system tofacilitate a remote user accessing an application across a statelessprotocol, the components including a component for caching dataassociated with the remote user access, the data comprising state and/oruser specific information.

Another aspect of the present invention provides a computer readablemedium storing computer executable instructions operable to execute amethod for facilitating remote access to an application, the accessoccurring across a stateless protocol, the method comprising: allocatingmemory to cache state and/or user specific information associated withthe remote access; caching the state information associated with theremote access of the application in the allocated memory; and cachingthe user specific information associated with the remote access of theapplication in the allocated memory.

Yet another aspect of the present invention provides a computer readablemedium storing computer executable instructions operable to execute amethod for facilitating remote access to an application, the accessoccurring across a stateless protocol, the method comprising: allocatingmemory to cache state and/or user specific information associated withthe remote access; caching the state information associated with theremote access of the application in the allocated memory; caching theuser specific information associated with the remote access of theapplication in the allocated memory and selectively reclaiming thememory allocated to cache the state and/or user specific informationassociated with the remote access, the reclaiming occurring upon theallocated memory not being accessed within a pre-determined period oftime.

Still yet another aspect of the present invention provides a system formanaging information in an application accessed via a statelessprotocol, comprising: means for allocating memory to store state and/oruser specific information associated with a remote user access of anapplication, the application being accessed via a stateless protocol;means for caching, in the allocated memory, state information associatedwith the remote access of the application; means for caching, in theallocated memory, user specific information associated with a remoteaccessor of the application; means for locating the state and/or userspecific information cached in the allocated memory; and means forreclaiming the allocated memory when the memory has not been accessedwithin a predetermined period of time.

To the accomplishment of the foregoing and related ends, certainillustrative aspects of the invention are described herein in connectionwith the following description and the annexed drawings. These aspectsare indicative, however, of but a few of the various ways in which theprinciples of the invention may be employed and the present invention isintended to include all such aspects and their equivalents. Otheradvantages and novel features of the invention may become apparent fromthe following detailed description of the invention when considered inconjunction with the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is schematic block diagram illustrating a system for managingstate and/or user specific information for applications accessed overstateless protocols, in accordance with an aspect of the presentinvention;

FIG. 2 is a schematic block diagram further illustrating a system formanaging state and/or user specific information for applicationsaccessed over stateless protocols, in accordance with an aspect of thepresent invention;

FIG. 3 is a schematic block diagram illustrating the system for managingstate and/or user specific information for applications accessed viastateless protocols, the system including a feedback and monitoringcomponent operable to monitor usage of one or more user context objects;

FIG. 4 is a schematic block diagram illustrating a system for managingstate and/or user specific information for an application accessed overa stateless protocol, in accordance with an aspect of the presentinvention;

FIG. 5 is a schematic block diagram illustrating a user context objectlocating component addressing a user context object, in accordance withan aspect of the present invention;

FIG. 6 illustrates stateless protocol requests and responses carrying aGlobally Unique Identifier (GUID), in accordance with an aspect of thepresent invention;

FIG. 7 is a flow chart illustrating a method for managing state and/oruser information for an application accessed via a stateless protocol,in accordance with an aspect of the present invention;

FIG. 8 is a flow chart illustrating a method for locating a user contextobject, in accordance with an aspect of the present invention;

FIG. 9 is a data flow diagram illustrating a data flow through a systemfor managing states for an application accessed via a statelessprotocol, in accordance with an aspect of the present invention; and

FIG. 10 is a schematic block diagram of an exemplary operatingenvironment for a system configured in accordance with the presentinvention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention is now described with reference to the drawings,wherein like reference numerals are used to refer to like elementsthroughout. In the following description, for purposes of explanation,numerous specific details are set forth in order to provide a thoroughunderstanding of the present invention. It may be evident, however, toone skilled in the art that the present invention may be practicedwithout these specific details. In other instances, well-knownstructures and devices are shown in block diagram form in order tofacilitate description of the present invention.

As used in this application, the term “component” is intended to referto a computer-related entity, either hardware, a combination of hardwareand software, software, or software in execution. For example, acomponent may be, but is not limited to, a process running on aprocessor, a processor, an object, an executable, a thread of execution,a program, and a computer. By way of illustration, both an applicationrunning on a server and the server can be a component.

Referring initially to FIG. 1, a system 10 for managing state, and/oruser, information associated with an application 20 accessed via astateless protocol 22 is illustrated. The application can be, forexample, email, chat sessions, database programs, video games,web-enabled applications and search engines. Although six applicationsare listed above, it is to be appreciated by one skilled in the art thatany application for which tracking state and/or user information isbeneficial may be employed with the present invention. The application20 can be hosted by a server 30. The server 30 can be, for example, apersonal computer, a workstation, and one or more distributed machinesco-operating in serving the application 20. The stateless protocol 22can be, for example, a Hypertext Transfer Protocol (HTTP). The userinformation associated with the application 20 can include, but is notlimited to, a record of views accessible to the remote user, a record ofviews recently displayed to the remote user, a record of foldersrecently accessed by the remote user, a record of URLs for folderscommonly accessed by the remote user, and legacy and SMTP addresses forthe remote user. The state information associated with the application20 can include, but is not limited to, a record of one or more entitiesinvolved in a process requiring multiple requests from the remote uservia the stateless protocol. While the user and state information isdescribed, in part, as being associated with one or more records (e.g. arecord of views), it is to be appreciated by one skilled in the art thatany suitable data structure, and/or data storage method, can be employedin accordance with the present invention. Such data structures caninclude, but are not limited to, lists, linked lists, arrays, objects,records, database records, fields, files and trees.

The application 20 may be accessed by a remote user employing a browser40 (e.g. Internet Explorer). The browser 40 and the server 30 maycommunicate via the stateless protocol 22. For example, statelessprotocol 22 requests and/or responses may travel between the browser 40and the server 30. Conventionally, communicating with an application viathe stateless protocol 22 hampered maintaining state and/or userspecific information concerning the remote access of the application 20.Since state and/or user information was difficult to maintain, theapplication 20 available via the stateless protocol may have beenlimited in its capabilities, and/or capacities.

One or more resources 50 may be associated with the application 20. Theresources can include, but are not limited to memory, network bandwidth,processor time and communication devices. The server 30 can manage theresources 50 that are allocated to the application 20. For example, theapplication 50 may require one megabyte of memory to store a datastructure, and the server 30 may allocate the one megabyte of memory tothe application 20 from the resources 50. Efficient management of theresources 50 is facilitated if the application 20 can track user and/orstate specific information associated with the remote user of thebrowser 40 accessing the application 20. For example, the application 20may require an initial large allocation of memory for a remote user, butthen may require separate smaller allocations of memory for subsequentsessions from the same remote user. Conventionally, tracking users andsessions was difficult to achieve. Thus, the subsequent smallerallocations may not have been available, requiring larger allocations,thereby reducing application efficiency. The present invention, byfacilitating tracking whether a user is running more than one session,and tracking what resources, if any, are allocated to that user, canimprove the efficiency of resource allocation for the application 20.

The application 20 can be an application that can be accessed by morethan one remote user. Thus, the application 20 may have resources 50allocated for the more than one remote user. The present inventionfacilitates tracking the resources 50 allocated to the different remoteusers by facilitating maintaining user information. By way ofillustration, with user and state information available a relativelysimple algorithm may be employed to locate resources associated with auser, and/or a session, rather than a relatively complicatedconventional algorithm. For example, the user context object can containa pointer to the resources, which is a simple address lookup, whileconventionally, a table of resources may need to be searched to locateresources.

Similarly, a remote user may interact with the application 20 throughmore than one session of the browser 40. Thus, the application 20 mayhave resources 50 allocated for the more than one session for the remoteuser who is accessing the application 20 by more than one browser 40session. For example, a remote user may have one browser session activethrough which the remote user is accessing a first email accountassigned to a first user name for the remote user, the first accountbeing handled by the application 20. The remote user may also haveanother browser session active through which the remote user isaccessing a second email account assigned to a second user name for theremote user, the second account also being handled by the application20.

With continuing reference to FIG. 1, one or more user context objects 60(UCO) can be created to facilitate tracking the state and/or userspecific information employed by the application 20. The user contextobjects 60 can be managed by a user context manager 70. The user contextmanager 70 can be responsible for actions including, but not limited to,initializing the user context objects 60, for maintaining the usercontext objects 60 and/or for reclaiming memory from user contextobjects 60 that are no longer tracking state and/or user information fora remote user, for example. In one example aspect of the presentinvention, the user context manager 70 can monitor how long it has beensince a user context object 60 was accessed, and if the period of timeexceeds a predetermined threshold (e.g. one hour), then the user contextmanager 70 can reclaim the memory allocated for the user context object60. In another example aspect of the present invention, the user contextmanager 70 can adjust the period of time during which a user contextobject 60 can go without being accessed before the memory allocated tothe user context object 60 is reclaimed. For example, if the server 30is running near its capacity, then the period of time may be reduced.But if the server 30 is not running substantially near its capacity,then the period of time may be increased. Thus, the present inventionprovides a dynamically self-configuring user context manager 70responsive to the load being borne by the server 30.

Turning now to FIG. 2, the system 10 for managing state and/or userspecific information for the application 20 (FIG. 1) accessed over thestateless protocol 22 is further illustrated. The application 20 may be,for example, an email application, a calendar application and/or a tasklist application. Remote users can access one or more applications 20_(A1), 20 _(A2) through 20 _(AN) (collectively the applications 20A) viathe stateless protocol 22. Remote users may access the applications 20Afrom one or more browser sessions 100 _(A1), 100 _(A2) through 100 _(AN)(collectively the sessions 100A). The applications 20A may be associatedwith one or more threads of execution or processes 25. For example, theapplication 20 _(A1) may be associated with the threads 25 _(A1), 25_(A2) through 25 _(AN). Thus, for an application accessible via thestateless protocol 22, a complicated environment including the sessions100A, the applications 20A and the threads 25A can exist. To improve thefunctionality of the applications 20A, the present invention facilitatescreating one or more user context objects 60 _(A1), 60 _(A2) through 60_(AN) (collectively the user context objects 60A) operable to storestate and/or user specific information about remote users and associatedsessions. The user and/or state information stored in the user contextobjects 60A can be employed for tasks including, but not limited to,tracking associations between applications and sessions, trackingassociations between applications, tracking progress through a threadand/or process, tracking actions taken by remote users and/or browsersessions, and locating resources associated with sessions, applications,threads and/or processes, for example. Such actions may be carried outby a relatively simple operation of, for example, resolving pointersstored in the user context objects 60A. Conventionally, with no usercontext objects 60A, if it was possible to perform tasks like trackingassociations between threads and browser sessions, relativelycomplicated operations like string parsing, table lookups and/or treesearches, for example, were required. Thus, the present inventionmitigates delay problems found in conventional systems.

Turning now to FIG. 3, a schematic block diagram further illustrates thesystem 10 for managing state and/or user specific information for theapplication 20 accessed via a stateless protocol 22. One or more remoteaccessors 110 _(A1), 110 _(A2), through 110 _(AN) (collectively theremote accessors 110A) access the application 20 via the statelessprotocol 22. The remote accessors 110A can send requests 120 to theapplication 20 via the stateless protocol and can receive responses 122from the application 20 via the stateless protocol. The requests 120 andresponses 122 can be employed to carry information that facilitatesstoring state and/or user specific information in the one or more usercontext objects 60A. One or more operations desired by the remoteaccessors 110A may require multiple requests 120, and/or responses 122.For example, moving messages from a first email folder to a second emailfolder may require multiple requests 120, and/or responses 122, via thestateless protocol 22. Processing such multiple requests 120, and/orresponses 122, can be simplified if state, and/or user, specificinformation is available to the application 20 and does not, therefore,have to be sent back and forth between the application 20 and the remoteaccessors 100A. Thus, by facilitating tracking state and/or userspecific information, the functionality and the efficiency of theapplication 20 can be improved.

FIG. 4 is a schematic block diagram further illustrating the system 10for managing state, and/or user, specific information for theapplication 20 accessed via a stateless protocol 22, the system 10including a feedback and monitoring component 80 operable to monitorusage of one or more user context objects 60 and to produce feedbackinformation 85.

A remote accessor 110 _(A1) may create a browser session, perform someaction, and then not perform other actions from that session. Forexample, the remote accessor 110 _(A1) may start a browser session,access an email application, read a message and then start some otheractivity (e.g word processing), leaving the browser session active andconnected to the email application. The user context object 60 _(A1) mayhave been allocated to track state, and/or user, specific informationassociated with the remote accessor 110 _(A1). With a finite set ofresources available to allocate to the user context objects 60A,monitoring the usage of the one or more user context objects 60A canimprove the performance of the application 20 and the system 10 fortracking state and/or user information. For example, if the user contextmanager 70 determines, based at least in part on the feedbackinformation 85 provided by the monitoring component 80, that one or moreof the user context objects 60A have not been accessed for apre-determined period of time (e.g. one hour), then the user contextmanager 70 can reclaim the resources allocated to the one or more usercontext objects 60A. The resources can include, but are not limited to,memory, processor cycles, data communication devices and datacommunications bandwidth. Thus, for example, the memory allocated to theuser context object 60 _(A1), associated with the browser sessionabandoned when the remote user started another task, which browsersession has not caused an access of the user context object 60 _(A1) inmore than a pre-determined period of time, can be reclaimed. Suchreclamation can improve the efficiency of the system 10 managing thestate and/or user information.

By way of further illustration, with the complicated mix of remoteaccessors 100A (FIG. 2), applications 20A (FIG. 2) and/orthreads/processes 25A (FIG. 2) possible, and the possibility of acorrespondingly complicated set of user context objects 60A, the usercontext manager 70 can be employed, in an example aspect of the presentinvention, to manage the user context objects 60A by, for example,shifting resources between one or more user context objects 60A based,at least in part, on the feedback information 85 provided by themonitoring component 80. If the user context manager 70 determines thatsome user context objects 60A are being accessed more frequently thanother user context objects 60A, then the user context manager 70 mayattempt to reallocate resources between the user context objects 60A.The resources can include, but are not limited to, memory, processorcycles, data communications devices and data communications bandwidth.Such reallocation can improve the efficiency of the application 20 andthe system 10 managing the state and/or user information.

In an example aspect of the present invention, the user context manager70 may dynamically adjust one or more pre-determined thresholds based,at least in part, on the feedback information 85 available from themonitoring component 80. For example, if the user context manager 70determines that the server 30 (FIG. 2) is operating near capacity (e.g.80%), then the user context manager 70 may reduce the period of timeafter which a user context object 60 will be reclaimed if the usercontext object 60 is not accessed. Similarly, if the user contextmanager 70 determines that the server 30 (FIG. 2) is operating with arelatively light load (e.g. 10%) then the user context manager 70 mayincrease the period of time after which a user context object 60 will bereclaimed if the user context object 60 is not accessed.

Turning now to FIG. 5, a schematic block diagram illustrates a usercontext object locating component 200 receiving inputs sufficient tolocate a user context object 240. A remote accessor may access theapplication 20 through a browser 40. The remote accessor may configurethe browser 40 to personal preferences. Thus, the browser 40 can havelocale information including, but not limited to, display language,character set, time zone, and current time. A locale identifier 210(LCID) can be associated with such information and can be sent, via thestateless protocol 22, from the browser 40 to the user context objectlocating component 200 in one or more requests.

The application 20 can also have an identifier associated with theremote accessor. For example, an email application can have a mailboxidentifier 212 (MID) associated with the remote accessor. The MID 212may be generated by processing a (domain name, username, password)combination, for example. Once generated, the MID 212 can be passed tothe user context object locating component 200.

An operating system 220 can support running the application 20. Theoperating system 220 can have a security identifier 214 (SID) associatedwith the remote accessor. For example, a (username, password)combination may be resolved to determine the authenticity of the remoteaccessor, and upon such determination, the SID 214 can be assigned.

A user context manager 230 can support managing a context object 240. Asthe user context object 240 is created, a globally unique identifier 216(GUID) can be assigned to the user context object 240. The GUID 216 canalso be passed to the user context object locating component 200. Thus,the user context object locating component 200 can access several piecesof information available (e.g. LCID, MID, SID, GUID). With suchinformation available, the user context object locating component 200can employ an algorithm to locate the user context object 240. By way ofillustration, the GUID 216 may identify a machine upon which the usercontext object 240 resides, the SID 214 may identify a pool of usercontext objects assigned to an organization of users being served by themachine identified by the GUID 216 and the user from that organizationgenerating a request. The MID 212 may identify the application 20 towhich the request is directed, and may provide an index for a tablelookup in that application 20, while the LCID 210 may help identifying abrowser session associated with a request.

The LCID 210, the MID 212, the SID 214 and the GUID 216 can thus beemployed to efficiently and uniquely identify the user context object240 holding state and/or user specific information thus facilitatingmaintaining state and/or user specific information for an applicationaccessed via a stateless protocol.

FIG. 6 illustrates a stateless protocol request 120 and response 122,the request 120 and the response 122 carrying a globally uniqueIdentifier 216 (GUID). As mentioned above, a user context manager 230can support managing a user context object 240 (FIG. 5). As the usercontext object 240 is created, the globally unique identifier 216 (GUID)can be assigned to the user context object 240. As described in thediscussion accompanying FIG. 5, the GUID 216 can be employed in locatinga user context object 240 (FIG. 5). Similarly, other identifiers (e.g.,SID 214, MID 212, LCID 210) can be employed to locate the user contextobject 240. When a SID 214 is available, the SID 214 can be maintainedin the operating system 220 (FIG. 5) supporting the application 20 (FIG.5) at the server side. Similarly, when an MID 212 is available, the MID212 can be maintained in the application 20 at the server side. When anLCID 210 is available, the LCID 210 is typically transmitted with eachstateless protocol 22 request 120. But it is the combination of themultiple identifiers (e.g. LCID 210, MID 212, SID 214, GUID 216) thatfacilitate efficiently and uniquely identifying the user context object240. Further, the GUID 216 may not be readily retrievable by theapplication 20, the operating system 220, and/or the browser 40. Thus,in an example aspect of the present invention, the GUID 216 is sent fromthe application 20 side to the remote accessor side in the response 122.On subsequent requests 120 the GUID 216 is sent from the remote accessorside to the application side. Thus, the GUID 216 is available tofacilitate retrieving user context objects, which facilitates trackingstate and/or user information for applications accessed via a statelessprotocol. In an example aspect of the present invention, the GUID 216can be transported in space conventionally employed for managingpersistent and/or per session client side hypertext files (“cookies”).

In view of the exemplary systems shown and described above, amethodology, which may be implemented in accordance with the presentinvention, will be better appreciated with reference to the flowdiagrams of FIGS. 7 and 8. While, for purposes of simplicity ofexplanation, the methodologies of FIG. 7 and FIG. 8 are shown anddescribed as a series of steps. It is to be understood and appreciatedthat the present invention is not limited by the order of the steps, assome steps may, in accordance with the present invention, occur indifferent orders and/or concurrently with other steps from that shownand described herein. Moreover, not all illustrated steps may berequired to implement a methodology in accordance with the presentinvention.

Turning now to FIG. 7, a flow chart illustrates a method for managingstate and/or user specific information for an application accessed via astateless protocol. At step 300, general initializations are performed.Such initializations can include, but are not limited to, establishingpointers, determining locations of available memory, setting counters toinitial values, determining current loads, determining whatcommunications devices and/or services are available, determining whatapplications are available, identifying processes and/or threadsassociated with applications, determining what operating systems areavailable and determining whether a feedback control component isavailable, for example.

At step 310, a request is received via a stateless protocol. The requestmay be associated with a remote accessor, who may be accessing anapplication via the stateless protocol. For example, a remote accessormay send a request, via the stateless protocol, to an email application,the request asking to view an email folder. At step 320, a determinationis made whether a globally unique identifier GUID is available in therequest. If the determination at step 320 is NO, then in one exampleaspect of the present invention the absence of the GUID can indicatethat no user context object is associated with the remote access and theapplication with which the remote access seeks to interact. Thus, atstep 330, a user context object is created. At step 340, a GUID iscreated and assigned to the user context object of step 330. At step350, initial user information is cached in the user context object ofstep 330, which can be addressed in part by the GUID of step 340. Atstep 360, initial state information is similarly cached in the usercontext object of step 330, which can be addressed in part by the GUIDof step 340. Thus, if the determination at step 320 was NO, then a usercontext object is created and mapped to the remote accessor andapplication with which the remote accessor seeks to interact.

If the determination at step 320 was YES, that a GUID was available inthe request received at step 310, then at step 370 the user contextobject associated with the GUID will be retrieved. Step 370 will beflow-charted in greater detail in FIG. 8.

At step 440 the request is processed and a response is produced. Withuser and/or state information available, more sophisticated requests canbe processed than would be conventionally possible for an applicationaccessed via a stateless protocol, thus facilitating the functionalityand efficiency of such an application.

At step 450, a determination is made concerning whether processingassociated with the user context object is complete. For example, theapplication may have reached a state where no more interactions arepossible with the user context object, and/or the request indicated thatthe remote access was terminating, and thus the user context object willno longer be necessary. If at step 450 the determination is YES, then atstep 460 the resources allocated to the user context object can bede-allocated. Resources including, but not limited to memory,communications devices, network bandwidth and/or processor time, forexample, can be reclaimed. Thus, the efficiency of maintaining stateand/or user information for an application accessed via a statelessprotocol can be improved.

If at step 450 the determination is NO, then at step 470 a determinationcan be made concerning whether a timeout condition exists for one ormore user context objects. Such a determination can be made, forexample, by a background thread that can be independent from the lookupprocess. For example, if a user context object has not been accessed fora pre-determined period of time, then the resources allocated to thatuser context object can be reclaimed. If the determination at step 470is YES, then at step 460 such resource de-allocation occurs.

At step 500, a determination is made concerning whether the method isdone receiving requests. If the determination at step 500 is YES, thenprocessing concludes, otherwise the method returns to step 310 toreceive the next request via the stateless protocol.

Turning now to FIG. 8, step 370 (FIG. 7), which deals with locating auser context object, is flow-charted in greater detail. Locating a usercontext object can involve passing one or more identifiers to analgorithm for combining the identifiers to generate an address of amemory location, for example. Thus, at step 372, the globally uniqueidentifier (GUID) is extracted from the request received at step 310(FIG. 7). In an example aspect of the present invention, where theapplication being accessed via a stateless protocol is an emailapplication, then at step 374 a mailbox identifier (MID) can beacquired. At step 376, a security identifier (SID) can be acquired froman operating system supporting the application being accessed via thestateless protocol. At step 378, a locale identifier (LCID) can beacquired from the browser being employed by the remote accessor. Oncethe identifiers of step 372, 374, 376 and 378 have been acquired, thenat step 380 an address for the user context object can be generated. Itis to be appreciated by one skilled in the art that the address may be aphysical address, a virtual address, or any type of address suitable tolocate an object in memory.

At step 382, a determination is made concerning whether the user contextobject whose address was generated at step 380 still exists since theuser context object may have been reclaimed due to actions including,but not limited to, to a time out condition (e.g. step 470, FIG. 7). Ifthe determination at step 382 is YES, that the user context object whoseaddress was generated at step 380 still exists, then at step 384 thepointer and/or address associated with the user context object can bereturned. If the determination at step 382 is NO, then at step 390 auser context object can be created to store user and/or stateinformation associated with the remote accessor. At step 392 a new GUIDcan be generated, the GUID operable to facilitate locating the usercontext object created at step 390. At step 394, user information can becached in the user context object of step 390, and at step 396 stateinformation can be cached in the user context object of step 396. Atstep 384, a pointer and/or address associated with the user contextobject created at step 390 can be returned.

Although four identifiers (e.g. GUID, MID, SID, LCID) are described inassociation with the method flow charted for steps 372 through 396, itis to be appreciated by one skilled in the art that a greater or lessernumber of identifiers may be employed in accordance with the presentinvention. For example, although a mailbox identifier (MID) is discussedin association with step 374, other identifiers including, but notlimited to, a chat session identifier, a search engine identifier, adatabase identifier, and a video game identifier can be employed inaccordance with the present invention, for example.

Turning now to FIG. 9, a data flow through a system for managing statesand/or user information for an application accessed via a statelessprotocol is illustrated. A remote accessing process 600 can generaterequests that will pass to an application 630 via a stateless protocoland can receive responses back from the application 630 via thestateless protocol. The remote accessing process 600 can storeinformation including, but not limited to, a GUID and user information,in a remote accessing process data store 602. The remote accessingprocess 600 may also be associated with a locale identifier. The remoteaccessing process 600 can send requests, which can include the GUID andthe LCID to a user context manager process 610. The user context managerprocess 610 may also receive information from an operating system 620and an application 630. The operating system 620 can, for example, storea security identifier 622 (SID) and send the SID 622 to the user contextmanager process 610. The security identifier may have been generated byprocessing a (username, password) combination, for example. Similarly,the application 630 may have an identifier available to send to the usercontext manager process 610. For example, if the application 630 is amail box application, then the mail box application may have a mail boxidentifier 632 (MID) available. The mail box identifier may have beengenerated by processing a (username, password, domain name, alias)combination, for example. The user context manager process can examinethe available identifiers (e.g. GUID, LCID, SID, MID) and access anaddress resolution table 612 to determine which user context object 644,if any, corresponds to the combination of identifiers. If a user contextobject 644 is located, then the user context manager process 610 canaccess state information 648 and/or user information 646 associated withthe user context object 644. Having state information 648 and/or userinformation 646 available facilitates increasing the functionality ofthe application 630 that can be accessed via a stateless protocol. Forexample, maintaining user information 646 can reduce processing requiredto determine what user is accessing the application 630. Similarly,maintaining state information 648 can reduce processing required toperform multi-step operations.

In order to provide additional context for various aspects of thepresent invention, FIG. 10 and the following discussion are intended toprovide a brief, general description of a suitable computing environment710 in which the various aspects of the present invention may beimplemented. While the invention has been described above in the generalcontext of computer-executable instructions that may run on one or morecomputers, those skilled in the art will recognize that the inventionalso may be implemented in combination with other program modules,and/or as a combination of hardware and software. Generally, programmodules include routines, programs, components, data structures, etc.that perform particular tasks or implement particular abstract datatypes. Moreover, those skilled in the art will appreciate that theinventive methods may be practiced with other computer systemconfigurations, including single-processor or multiprocessor computersystems, minicomputers, mainframe computers, as well as personalcomputers, hand-held computing devices, microprocessor-based orprogrammable consumer electronics, and the like, each of which may beoperatively coupled to one or more associated devices. The illustratedaspects of the invention may also be practiced in distributed computingenvironments where certain tasks are performed by remote processingdevices that are linked through a communications network. In adistributed computing environment, program modules may be located inboth local and remote memory storage devices.

With reference to FIG. 10, an exemplary environment 710 for implementingvarious aspects of the invention includes a computer 712, including aprocessing unit 714, a system memory 716, and a system bus 718 thatcouples various system components including the system memory to theprocessing unit 714. The processing unit 714 may be any of variouscommercially available processors. Dual microprocessors and othermulti-processor architectures also can be used as the processing unit714.

The system bus 718 may be any of several types of bus structureincluding a memory bus or memory controller, a peripheral bus, and alocal bus using any of a variety of conventional bus architectures suchas PCI, VESA, Microchannel, ISA, and EISA, to name a few. The computer712 memory includes read only memory (ROM) 720 and random access memory(RAM) 722. A basic input/output system (BIOS), containing the basicroutines that help to transfer information between elements within thecomputer 712, such as during start-up, is stored in ROM 720.

The computer 712 further includes a hard disk drive 724, a magnetic diskdrive 726, e.g., to read from or write to a removable disk 728, and anoptical disk drive 730, e.g., for reading a CD-ROM disk 732 or to readfrom or write to other optical media. The hard disk drive 724, magneticdisk drive 726, and optical disk drive 730 are connected to the systembus 718 by a hard disk drive interface 734, a magnetic disk driveinterface 736, and an optical drive interface 738, respectively. Thedrives and their associated computer-readable media provide nonvolatilestorage of data, data structures, computer-executable instructions, etc.for the computer 712, including for the storage of broadcast programmingin a suitable digital format. Although the description ofcomputer-readable media above refers to a hard disk, a removablemagnetic disk and a CD, it should be appreciated by those skilled in theart that other types of media which are readable by a computer, such aszip drives, magnetic cassettes, flash memory cards, digital video disks,Bernoulli cartridges, and the like, may also be used in the exemplaryoperating environment, and further that any such media may containcomputer-executable instructions for performing the methods of thepresent invention.

A number of program modules may be stored in the drives and RAM 722,including an operating system 740, one or more application programs 742,other program modules 744 and program non-interrupt data 746. Theoperating system 740 in the illustrated computer is, for example, the“Microsoft® Windows® NT®” operating system, although it is to beappreciated that the present invention may be implemented with otheroperating systems or combinations of operating systems, such as UNIX®,LINUX®, etc.

A user may enter commands and information into the computer 712 througha keyboard 748 and a pointing device, such as a mouse 750. Other inputdevices (not shown) may include a microphone, an IR remote control, ajoystick, a game pad, a satellite dish, a scanner, or the like. Theseand other input devices are often connected to the processing unit 714through a serial port interface 752 that is coupled to the system bus718, but may be connected by other interfaces, such as a parallel port,a game port, a universal serial bus (“USB”), an IR interface, etc. Amonitor 754 or other type of display device is also connected to thesystem bus 718 via an interface, such as a video adapter 756. Inaddition to the monitor, a computer typically includes other peripheraloutput devices (not shown), such as speakers, printers etc.

The computer 712 may operate in a networked environment using logicalconnections to one or more remote computers, such as a remotecomputer(s) 758. The remote computer(s) 758 may be a workstation, aserver computer, a router, a personal computer, microprocessor basedentertainment appliance (e.g., a WebTV® client system), a peer device orother common network node, and typically includes many or all of theelements described relative to the computer 712, although, for purposesof brevity, only a memory storage device 760 is illustrated. The logicalconnections depicted include a local area network (LAN) 762 and a widearea network (WAN) 764. Such networking environments are commonplace inoffices, enterprise-wide computer networks, intranets and the Internet.

When used in a LAN networking environment, the computer 712 is connectedto the local network 762 through a network interface or adapter 766.When used in a WAN networking environment, the computer 712 typicallyincludes a modem 768, or is connected to a communications server on theLAN, or has other means for establishing communications over the WAN764, such as the Internet. The modem 768, which may be internal orexternal, is connected to the system bus 718 via the serial portinterface 752. In a networked environment, program modules depictedrelative to the computer 712, or portions thereof, may be stored in theremote memory storage device 760. It will be appreciated that thenetwork connections shown are exemplary, and other means of establishinga communications link between the computers may be used.

What has been described above includes examples of the presentinvention. It is, of course, not possible to describe every conceivablecombination of components or methodologies for purposes of describingthe present invention, but one of ordinary skill in the art mayrecognize that many further combinations and permutations of the presentinvention are possible. Accordingly, the present invention is intendedto embrace all such alterations, modifications and variations that fallwithin the spirit and scope of the appended claims. Furthermore, to theextent that the term “includes” is used in either the detaileddescription or the claims, such term is intended to be inclusive in amanner similar to the term “comprising” as “comprising” is interpretedwhen employed as a transitional word in a claim.

1. A computer implemented system to facilitate a remote user accessingan application across a stateless protocol, comprising the followingcomputer executable components: a component for caching data associatedwith the remote user access, the data comprising state and user specificinformation; and a component for managing memory storing at least one ofthe state and user specific information, wherein the user specificinformation and the state information are stored in a user contextobject; a monitoring component that provides feedback informationconcerning usage of one or more user context objects; wherein moreresources are allocated to a user context object when the feedbackinformation indicates that the user context object has been utilizedmore than a first pre-determined threshold level; and the memorymanaging component reclaims resources allocated to the user contextobject upon a determination that the user context object has not beenaccessed within a pre-determined threshold period of time, thepre-determined threshold period of time can be dynamically changedbased, at least in part, on feedback concerning usage of one or moreuser context objects.
 2. The system of claim 1, the user specificinformation comprising at least one of: a record of views accessible tothe remote user, a record of views recently displayed to the remoteuser, a record of folders recently accessed by the remote user, a recordof URLs for folders commonly accessed by the remote user, a record of atleast one of messages and folders moved or copied byte remote user, andemail addresses for the remote user.
 3. The system of claim 1, the stateinformation comprising at least one of: a record of one or more entitiesinvolved in a process requiring multiple requests from the remote uservia the stateless protocol.
 4. The system of claim 3, the entitiescomprising at least one of: memory locations, folders, directories,messages, objects, processes, threads, records, files and data.
 5. Thesystem of claim 1, wherein the stateless protocol is HTTP.
 6. The systemof claim 1, the application comprising at least one of: email, chatsessions, database programs, video games, web-enabled applications andsearch engines.
 7. The system of claim 1, wherein the user contextobject is assigned a globally unique identifier.
 8. The system of claim1, wherein the memory managing component manages one or more usercontext objects.
 9. The system of claim 8, wherein the memory managingcomponent can locate a user context object via an addressing algorithm,the algorithm employing the globally unique identifier, a localeidentifier, a mailbox identifier and a security identifier.
 10. Thesystem of claim 1, wherein the resources include at least one of memory,data communications devices, processor time and network bandwidth. 11.The system of claim 1, wherein the pre-determined threshold period oftime is one hour.
 12. The system of claim 1, wherein the pre-determinedthreshold period of time can be dynamically increased based, at least inpart, on feedback concerning increased usage of one or more user contextobjects.
 13. The system of claim 1, the resources comprising at leastone of memory, processor time, communication devices and networkbandwidth.
 14. The system of claim 1, wherein resources are reclaimedfrom a user context objects when the feedback information indicates thatthe user context object has been utilized less than a secondpre-determined threshold level.
 15. The system of claim 1, the resourcescomprising at least one of memory, processor time, communication devicesand network bandwidth.
 16. The system of claim 1, wherein resources areshifted between one or more user context objects based, at least inpart, on feedback information.
 17. The system of claim 1, furthercomprising a data packet transmitted between two or more computerprocesses, comprising; information related to facilitating remote accessto an application, the access occurring across a stateless protocol, theinformation comprising: at least one of state and user specificinformation associated with the remote access of the application.
 18. Acomputer implemented method for facilitating remote access to anapplication, the access occurring across a stateless protocol,comprising the following computer executable acts: allocating memory tocache at least one of state and user specific information associatedwith the remote access; caching the state information associated withthe remote access of the application in the allocated memory; cachingthe user specific information associated with the remote access of theapplication in the allocated memory; monitoring feedback informationconcerning usage of memory allocated to cache at least one state anduser specific information associated with the remote access; whereinadditional memory is allocated to cache the at least one state and userspecific information associated with the remote access when the feedbackinformation indicates that the allocated memory has been utilized morethan a pre-determined threshold level; and selectively reclaiming thememory allocated to cache the at least one of state and user specificinformation associated with the remote access, the reclaiming occurringupon the allocated memory not being accessed within a pre-determinedperiod of time, the pre-determined period of time being dynamicallychanged based, at least in part, on feedback concerning the allocationof memory.
 19. The method of claim 18, the pre-determined period of timebeing one hour.
 20. The method of claim 18, the pre-determined period oftime being dynamically adjustable based, at least in part, on feedbackconcerning the usage of the allocated memory associated with the remoteaccess.
 21. The method of claim 18, further comprising assigning aglobally unique identifier to the memory allocated to cache the at leastone of state and user specific information.
 22. The method of claim 21,further comprising locating the at least one of state and user specificinformation via an algorithm, the algorithm employing the globallyunique identifier, a locale identifier, a mailbox identifier and asecurity identifier.
 23. The method of claim 18, the state informationcomprising at least one of: a record of one or more entities involved ina process requiring multiple requests from the remote user via thestateless protocol.
 24. The method of claim 23, the entities comprisingat least one of: memory locations, folders, directories, messages,objects, processes, threads, records, files and data.
 25. The method ofclaim 18, wherein the stateless protocol is HTTP.
 26. The method ofclaim 18, the application comprising at least one of: email, chatsessions, database programs, video games, web-enabled applications andsearch engines.
 27. The method of claim 18, further comprising:receiving feedback information concerning usage of one or more usercontext objects; and allocating more resources to a user context object,based at least in part, on the feedback information.
 28. The method ofclaim 27, further comprising: de-allocating resources from a usercontext object based at least in part, on the feedback information. 29.The method of claim 27, further comprising: shifting resources betweenone or more user context objects, based at least in part, on thefeedback information.
 30. A computer readable medium storing computerexecutable components of a system to facilitate a remote user accessingan application across a stateless protocol, the components including acomponent for caching data associated with the remote user access, thedata comprising: at least of one state and user specific information,the components including a component for selectively reclaiming thememory allocated to cache at least one state and user specificinformation associated with the remote access, the reclaiming occurringupon allocated memory not being accessed within a pre-determined periodof time, the pre-determined period of time being dynamically changedbased, at least in part, on feedback concerning the allocation ofmemory, the components including a monitoring component that providesfeedback information concerning usage of memory allocated to cache theat least one state and user specific information associated with theremote access; wherein additional memory is allocated to cache the atleast one state and user specific information associated with the remoteaccess when the feedback information indicates that the allocated memoryhas been utilized more than a predetermined threshold level.
 31. Thecomputer readable medium of claim 30 further including a component formanaging memory storing the at least one of state and user specificinformation.
 32. A computer readable medium storing computer executableinstructions operable to execute a method for facilitating remote accessto an application, the access occurring across a stateless protocol, themethod comprising the following computer executable acts: allocatingmemory to cache at least one of state and user specific informationassociated with the remote access; caching the state informationassociated with the remote access of the application in the allocatedmemory; caching the user specific information associated with the remoteaccess of the application in the allocated memory; monitoring feedbackinformation concerning usage of memory allocated to cache at least onestate and user specific information associated with the remote access;wherein additional memory is allocated to cache the at least one stateand user specific information associated with the remote access when thefeedback information indicates that the allocated memory has beenutilized more than a pre-determined threshold level; and selectivelyreclaiming the memory allocated to cache the at least one of state anduser specific information associated with the remote access, thereclaiming occurring upon the allocated memory not being accessed withina pre-determined period of time, the pre-determined period of time beingdynamically changed based, at least in part, on feedback concerning theallocation of memory.
 33. The computer readable medium of claim 32,further including computer executable instructions operable todynamically reallocate resources to or from one or more user contextobjects based, at least in part, on feedback information received fromone or more monitoring components.
 34. A computer executable systemmanaging information in an application accessed via a statelessprotocol, comprising: computer implemented means for allocating memoryto store at least one state and user specific information associatedwith a remote user access of an application, the application beingaccessed via a stateless protocol; computer implemented means forcaching, in the allocated memory, state information associated with theremote access of the application; computer implemented means forcaching, in the allocated memory, user specific information associatedwith a remote accessor of the application; computer implemented meansfor locating the at least one state and user specific information cachedin the allocated memory; computer implemented means for monitoringfeedback information concerning usage of memory allocated to cache atleast one state and user specific information associated with the remoteaccess; wherein additional memory is allocated to cache the at least onestate and user specific information associated with the remote accesswhen the feedback information indicates that the allocated memory hasbeen utilized more than a pre-determined threshold level; and computerimplemented means for reclaiming the memory allocated when the memoryhas not been accessed within a pre-determined period of time, thepredetermined period of time being dynamically changed based, at leastin part, on feedback concerning the allocation of memory.